package com.cskaoyan.service.wxorder;

import com.cskaoyan.bean.CommonData;
import com.cskaoyan.bean.bo.wxorder.OrderBo;
import com.cskaoyan.bean.bo.wxorder.WxOrderSubmit;
import com.cskaoyan.bean.po.ohter.MarketOrderGoods;
import com.cskaoyan.bean.po.wxorder.MarketComment;
import com.cskaoyan.bean.vo.wxorder.OrderListVo;
import com.cskaoyan.bean.vo.wxorder.WxOrderDetail;
import com.cskaoyan.bean.vo.wxorder.WxOrderSubmitVo;

import java.util.List;

/**
 * @author Zhang Tao
 * @version 1.0.0
 * @description
 * @date since 2022-07-19 14:04
 */
public interface WxOrderService {

    CommonData<OrderListVo> queryOrderListByUserId(OrderBo orderBo, Integer id);

    void insertComment(MarketComment comment);

    WxOrderDetail queryOrderDetail(Integer orderId);

    void orderRefund(Integer orderId);

    void orderDelete(Integer orderId);

    void orderConfirm(Integer orderId);

    void orderCancel(Integer orderId);

    MarketOrderGoods queryOrderGoods(Integer orderId, Integer goodsId);

    void prepay(Integer orderId);

    WxOrderSubmitVo submit(WxOrderSubmit submitBO, Integer userId);

    //zhong
    List<Integer> getCartIds(Integer userId);
}
